﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wt.wine.Domain.Entities
{
    /// <summary>
    /// 订单表
    /// </summary>
    public class ordertable
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 操作人id
        /// </summary>
        public int userid { get; set; }
        /// <summary>
        /// 修改人id
        /// </summary>
        public int userpid { get; set; }
        /// <summary>
        /// 会员id
        /// </summary>
        public int member { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime updatetime { get; set; }
        /// <summary>
        /// 订单设置出酒量
        /// </summary>
        public int ordercapacity { get; set; }
        /// <summary>
        /// 订单出酒量展示文本
        /// </summary>
        public string currentcapacitys { get; set; }
        /// <summary>
        /// 订单当前出酒量
        /// </summary>
        public int currentcapacity { get; set; }
        /// <summary>
        /// 设备id
        /// </summary>
        public int deviceid { get; set; }
        /// <summary>
        /// 0-已下单，1-订单完成，2-取消订单  3、异常订单 
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        public int skuid { get; set; }
        /// <summary>
        /// 出酒状态：1 出酒完成  2 出酒暂停 、3 等待出酒
        /// </summary>
        public int operationstate { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public int price { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public int unit { get; set; }
        /// <summary>
        /// 自定义设备id
        /// </summary>
        public string cusdeviceid { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String remark { get; set; }
    }
}
